package com.lyj.service;

import com.lyj.pojo.OldMan;
import com.lyj.pojo.SatisNurseName;
import com.lyj.pojo.Satisfaction;

import java.util.List;

public interface OldManService {

    List<OldMan> queryAllOldMan();
    List<OldMan> queryOldManByName(String oldName);
    Boolean addOldMan(OldMan oldMan);
    Boolean delOldManById(int oldId);
    //修改老人记录
    Boolean updateOldManById(OldMan oldMan);
//查询备用护工
    SatisNurseName queryOldManStatis(int oldId);
//修改备用护工
    Boolean updateBysatisId(Satisfaction satisfaction);


}
